import { Response } from "express"

export const sendChar = (str: String, res: Response) => {
  for (const char of str) {
    res.write(`data: ${char}\n\n`)
  }
}